package com.example.leetcode;

import java.util.LinkedHashMap;
import java.util.concurrent.atomic.AtomicBoolean;

public class Test {
    public static void main(String[] args) {
        LinkedHashMap  test=new LinkedHashMap();
        test.put("a",11);
        test.put("b",12);
        test.put("c",12);
        AtomicBoolean first= new AtomicBoolean(false);
        test.forEach((k,v)->{
                if(false){
                    first.set(true);
                }
        });
        System.out.println(test.get("a"));
    }
}
